package beans;

import java.security.InvalidParameterException;


public class YoloBean {
    private String swag;

    public void setSwag(String swag) {
        if (swag.length() < 10) {
            throw new InvalidParameterException("Not enough swag!");
        }
        this.swag = swag;
    }

    public String getSwag() {
        return swag;
    }

    public static void main(String[] args){
        System.out.println("SWAG, YOLOLOLOLOLO2");
    }

    public void swagen() {
        System.out.println("HEI das swagt ab, wir swaggen di ganze nacht, die ganze nacht!");
    }
}
